<?php

namespace App\Livewire\Components;

use Livewire\Component;
use App\Models\Link as LinkModels;

class Link extends Component
{
    public function render()
    {
        $links = LinkModels::query()->orderBy('sort')->get();
        return view('livewire.components.link', [
            'links' => $links
        ]);
    }
}
